package com.mobilesales.android.database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

public abstract class ManagerBase {
	protected SQLiteDatabase db;
	protected DatabaseHelper dbHelper;
	protected Context context;

	public ManagerBase(Context c) {
		this.context = c;
		dbHelper = new DatabaseHelper(c);
		db = dbHelper.getDatabase();
	}

	public void Close() {
		if (dbHelper != null)
			dbHelper.close();
	}
}
